<html>
<head><meta charset="utf-8"><title>parser libraries · general · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/index.html">general</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/parser.20libraries.html">parser libraries</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="231540755"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/parser%20libraries/near/231540755" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> reactormonk <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/parser.20libraries.html#231540755">(Mar 23 2021 at 20:44)</a>:</h4>
<p>I wanted to write a parser library this format: <a href="https://github.com/happyleavesaoc/aoc-mgz">https://github.com/happyleavesaoc/aoc-mgz</a><br>
What good parser libs are out there? nom looks like a good default.</p>



<a name="231540991"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/parser%20libraries/near/231540991" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/parser.20libraries.html#231540991">(Mar 23 2021 at 20:46)</a>:</h4>
<p>the main one would be <code>rustc_parse</code> and there is also a macro parser</p>



<a name="231541089"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/parser%20libraries/near/231541089" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> reactormonk <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/parser.20libraries.html#231541089">(Mar 23 2021 at 20:46)</a>:</h4>
<p>That's for parsing rust, and not an arbitrary binary format?</p>



<a name="231541494"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/parser%20libraries/near/231541494" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/parser.20libraries.html#231541494">(Mar 23 2021 at 20:50)</a>:</h4>
<p>this is a compiler developers stream</p>



<a name="231541640"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/parser%20libraries/near/231541640" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/parser.20libraries.html#231541640">(Mar 23 2021 at 20:50)</a>:</h4>
<p>though arbitrary and macros are somewhat related you may look there</p>



<a name="231542046"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/parser%20libraries/near/231542046" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/parser.20libraries.html#231542046">(Mar 23 2021 at 20:54)</a>:</h4>
<p><a class="stream" data-stream-id="122651" href="/#narrow/stream/122651-general">#general</a> is not just for compiler development</p>



<a name="231544761"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/parser%20libraries/near/231544761" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/parser.20libraries.html#231544761">(Mar 23 2021 at 21:12)</a>:</h4>
<p><span class="user-mention" data-user-id="400105">@reactormonk</span> The nom crate may be useful.</p>



<a name="231609650"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/122651-general/topic/parser%20libraries/near/231609650" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oliver <a href="https://rust-lang.github.io/zulip_archive/stream/122651-general/topic/parser.20libraries.html#231609650">(Mar 24 2021 at 10:14)</a>:</h4>
<p>nom is a superb name for a parser library</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>